package com.jzy.message.activities.base;

/**
 * Created by Administrator on 2016/6/13.
 */
public class AppConfig {
    public static Boolean bIsLogin = false;    //是否已经登录
    public static String sUserName = "";       //用户名
    public static String sPassword = "";       //密码
    public static String sUserID = "";         //用户ID
    public static String sUserRealName = "";   //用户真实姓名

    //外网配置
    //博客服务器地址远程(Linux)
    public static String JsonUrl="http://47.89.178.187:7080/yoowi/a3ms";
    //远程图片视频服务器IP
    public static String sPic_Video_ServerIP="http://47.89.178.187";
    //直播服务器外网
    public static String LiveIP="47.89.178.187";//直播IP
    public static String LivePort="8080";//直播端口
    public static String ServerIP="47.89.178.187";//用来识别在直播服务器url中用哪个
    //XMPP 远程地址
    public static final String XMPP_HOST = "39.106.5.148";
    public static final int XMPP_PORT = 5222;
    public static final String ServerName="@iZ99uvwzr6jZ";


    public static final String GroupServerName="@conference.pc-20150313bquc";
    //视频会议服务器
    public static final String telepresence_server = "47.89.178.187";
    public static final String conference_port="8080";

    public static String sCookie="";
    public static String sCookie_Live="";
    public static String IMAGE_CACHE_PATH = "imageloader/Cache"; // 图片缓存路径

    //cookie临时变量
    public static String sCurrentCookie="";
    public static String cookieName="_instafilk_un_";
    // 定义db文件的绝对路径
    public static String getDatabaseDirectory() {
//		return android.os.Environment.getExternalStorageDirectory().getAbsolutePath();
        return "/data/data/com.openvideo/databases/";
    }
    //3d拍照参数
    public static String PHOTO3DFOLDER="photo";
    public static String getDatabaseFile() {
        return getDatabaseDirectory() + "/yoowi.db";
    }
}
